ComponentOne Data Source for Entity Framework
C1.LiveLinq Namespace / Ordering<T> Class / ThenBy<TKey>(Expression<Func<T,TKey>>) Method
The type of the key returned by keySelector.
A function to extract a key from each element.

In This Topic
    ThenBy<TKey>(Expression<Func<T,TKey>>) Method
    In This Topic
    Performs a subsequent ordering of the elements in a collection in ascending order according to a key.
    Syntax
    'Declaration
     
    
    Public Function ThenBy(Of TKey)( _
       ByVal keySelector As System.Linq.Expressions.Expression(Of Func(Of T,TKey)) _
    ) As Ordering(Of T)
    public Ordering<T> ThenBy<TKey>( 
       System.Linq.Expressions.Expression<Func<T,TKey>> keySelector
    )

    Parameters

    keySelector
    A function to extract a key from each element.

    Type Parameters

    TKey
    The type of the key returned by keySelector.

    Return Value

    A collection whose elements are sorted according to a key.
    See Also